package com.yidianyanglao.user.bean;

import java.util.Date;

/**
 * Created by lf on 2016/11/3 0003.
 */
public class SeedDetailsBean {

    private int id;
    private int userId;      //用户id
    private String name;    //'2:注册奖励 3:已直捐 4:已转赠 5:已回购 6:回购申请中',6:已获赠
    private String seedtype; //种子类型  普通，注册，推荐
    private double changeSeed;  //种子当前数据的变化数据
    private double remainingSeed;   //变化后的种子总数
    private int turnpeopleId;        //转赠人id
    private String turnpeopleName;     //转赠人姓名
    private int obtainpeopleId;       //获赠人id
    private String obtainpeopleName;   //获赠人姓名
    private double processingFeeValue; //手续费的值
    private double taxPointValue;      //水电的值
    private double processingFee;      //手续费比例
    private double taxPoint;            //税点百分比
    private Date createdate;            // 创建时间
    private int luckytreenum;          //产生这条数据时，有多少颗数（转赠不计算）

    private int usertype;              //用户身份

    public SeedDetailsBean(){}

    //获赠人记录的构造函数
    public SeedDetailsBean(String seedtype,String name,int userId,int usertype,double changeSeed,double remainingSeed,int turnpeopleId,String turnpeopleName,int obtainpeopleId,String obtainpeopleName){
        this.seedtype = seedtype;     //种子类型
        this.name = name;              //种子类型产生类型
        this.userId = userId;
        this.usertype = usertype;
        this.changeSeed = changeSeed;       //变化的种子数增加还是减少
        this.remainingSeed = remainingSeed;  //变化后的种子总数
        this.turnpeopleId = turnpeopleId;     //转赠人id
        this.turnpeopleName = turnpeopleName;  //获赠人名称
        this.obtainpeopleId = obtainpeopleId;   //获赠人id
        this.obtainpeopleName = obtainpeopleName;   //获赠人名称
        this.processingFeeValue=0;
        this.taxPointValue =0;
        this.processingFee = 0;
        this.taxPoint = 0;
    }


    public SeedDetailsBean(String seedtype,String name,int userId,int usertype,double changeSeed,double remainingSeed){
        this.seedtype = seedtype;     //种子类型
        this.name = name;              //种子类型产生类型
        this.userId = userId;
        this.usertype = usertype;
        this.changeSeed = changeSeed;       //变化的种子数增加还是减少
        this.remainingSeed = remainingSeed;  //变化后的种子总数
        this.processingFeeValue=0;
        this.taxPointValue =0;
        this.processingFee = 0;
        this.taxPoint = 0;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSeedtype() {
        return seedtype;
    }

    public void setSeedtype(String seedtype) {
        this.seedtype = seedtype;
    }

    public double getChangeSeed() {
        return changeSeed;
    }

    public void setChangeSeed(double changeSeed) {
        this.changeSeed = changeSeed;
    }

    public double getRemainingSeed() {
        return remainingSeed;
    }

    public void setRemainingSeed(double remainingSeed) {
        this.remainingSeed = remainingSeed;
    }

    public int getTurnpeopleId() {
        return turnpeopleId;
    }

    public void setTurnpeopleId(int turnpeopleId) {
        this.turnpeopleId = turnpeopleId;
    }

    public String getTurnpeopleName() {
        return turnpeopleName;
    }

    public void setTurnpeopleName(String turnpeopleName) {
        this.turnpeopleName = turnpeopleName;
    }

    public double getProcessingFeeValue() {
        return processingFeeValue;
    }

    public void setProcessingFeeValue(double processingFeeValue) {
        this.processingFeeValue = processingFeeValue;
    }

    public double getTaxPointValue() {
        return taxPointValue;
    }

    public void setTaxPointValue(double taxPointValue) {
        this.taxPointValue = taxPointValue;
    }

    public double getProcessingFee() {
        return processingFee;
    }

    public void setProcessingFee(double processingFee) {
        this.processingFee = processingFee;
    }

    public double getTaxPoint() {
        return taxPoint;
    }

    public void setTaxPoint(double taxPoint) {
        this.taxPoint = taxPoint;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public int getLuckytreenum() {
        return luckytreenum;
    }

    public void setLuckytreenum(int luckytreenum) {
        this.luckytreenum = luckytreenum;
    }

    public int getObtainpeopleId() {
        return obtainpeopleId;
    }

    public void setObtainpeopleId(int obtainpeopleId) {
        this.obtainpeopleId = obtainpeopleId;
    }

    public String getObtainpeopleName() {
        return obtainpeopleName;
    }

    public void setObtainpeopleName(String obtainpeopleName) {
        this.obtainpeopleName = obtainpeopleName;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }
}
